package o;

import android.os.Bundle;
import android.os.RemoteException;
import com.huawei.hmf.orb.aidl.communicate.DataBuffer;

public class fgv {
    protected int ˋ = 1;
    private ffu ˎ = null;
    protected String ˏ = "void";

    public fgv(ffu o_ffu) {
        this.ˎ = o_ffu;
    }

    public final void ˏ(ffc o_ffc) {
        ˎ(0, o_ffc);
    }

    public final void ˏ(int i) {
        ˎ(i, null);
    }

    public void ˊ(String str) {
        this.ˏ = str;
    }

    public void ˊ(int i) {
        this.ˋ = i;
    }

    protected void ˎ(int i, ffc o_ffc) {
        DataBuffer dataBuffer = new DataBuffer(this.ˏ, this.ˋ);
        fib ˊ = fgu.ˊ(dataBuffer.ˋ());
        if (o_ffc != null) {
            dataBuffer.ˋ = o_ffc.getClass().getName();
            dataBuffer.ˎ(ˊ.ˋ(o_ffc, new Bundle()));
        }
        dataBuffer.ˏ = ˊ.ˋ(new fgw(i), new Bundle());
        try {
            this.ˎ.ˊ(dataBuffer);
        } catch (RemoteException e) {
        } catch (Exception e2) {
        }
    }
}
